package com.example.common.service


import com.example.common.entity.CustomerDubbo
import java.util.*

interface CustomerDubboService {
    fun getAllCustomers(queryParams: CustomerDubbo): List<CustomerDubbo>
    fun findCustomerById(id: Long): CustomerDubbo
    fun createCustomer(customerDubbo: CustomerDubbo)
    fun updateCustomer(customerDubbo: CustomerDubbo)
    fun deleteCustomer(id: Long)
    fun getByEmail(email: String?): CustomerDubbo?
}